﻿@section Scripts{
    <script src="/js/modalEffects.js"></script>
    <script src="/js/classie.js"></script>
    <script src="/Scripts/sys/lib/common_raw.js"></script>
    <script src="http://cdn.bootcss.com/vue/2.3.3/vue.min.js"></script>
    <script src="/Scripts/plugins/layer/layer.min.js"></script>
    <script type="text/javascript">
        var vm = new Vue({
            el: "#vm",
            data: {
                List: [],
            },
            methods: {

            }
        })
        function list() {
            common.invokeApi(
                    "post",
                    "/getAlimamas.html",
                     {},
                    function () { },
                    function (data) {
                        if (data.Datas != null) {

                            for (var i = 0; i < data.Datas.Rows.length; i++) {
                                vm.List.push(data.Datas.Rows[i]);
                            }
                        }
                    },
                    function (data) {
                        common.msg(data.Message, 2, function () { });
                    },
                    function () { }
                    );
        }
        $(function () {
            list();
        });
        function tao() {
            $("#modal-13").addClass("md-show");
        }
    </script>

}
<div class="row" id="vm" style="opacity: 1;">
    <div class="row">
        <div class="col-lg-12">
            <ol class="breadcrumb">
                <li><a href="#">首页</a></li>
                <li class="active"><span>淘宝</span></li>
            </ol>
            <h1>淘宝联盟账号管理</h1>
        </div>
    </div>
   
    @*<div class="col-md-3 col-sm-3" v-on:click="tao()" v-for="item  in List">
        <div class="panel">
            <div class="panel-body">
                <h4>{{item.username}}</h4>
                <div class="media">
                    <a class="pull-left">
                        <img class="thumb media-object" src="/img/tao.jpg" style="border-radius:50%" width="50" height="50" alt="">
                    </a>
                    <div class="media-body">
                        <address>
                            <strong>共计 1217 位推广者</strong><br>
                            收入同步截止 2017-06-05<br>
                            授权过期时间 2017-06-28 <br>

                        </address>
                    </div>
                </div>
            </div>
        </div>
    </div>*@



    <div class="row">
        <div class="col-lg-12">
            <div class="main-box">
                <header class="main-box-header">
                    <h2>阿里妈妈机器人</h2>
                </header>
                <div class="main-box-body">
                    <div id="gallery-photos-lightbox">
                        <ul class="clearfix gallery-photos">
                            <li class="col-md-3 col-sm-6 col-xs-12" v-on:click="tao()" v-for="item  in List">
                                <div class="panel-body main-box" style="border: 1px solid #ecf0f1; border-radius:8px; ">
                                    <h4>{{item.username}}：妈妈账号
                                        <span class="label label-primary"><i class="fa fa-check-circle"></i>&nbsp;在线&nbsp;</span>
                                        <span style="color: #f4786e"></span>
                                        
                                        <span class="label label-danger"><i class="fa fa-power-off"></i>&nbsp;离线&nbsp;</span>

                                    </h4>
                                    <div class="media">
                                        <a class="pull-left">
                                            <img class="thumb media-object" src="/img/tao.jpg" width="50" height="50" alt="" style="border-radius:50%">
                                        </a>
                                        <div class="media-body">
                                            <address>
                                                <strong>共计 1217 位推广者</strong><br>
                                                收入同步截止 2017-06-05<br>
                                                授权过期时间 2017-06-28 <br>

                                            </address>
                                        </div>



                                    </div>
                                </div>
                            </li>
                        
                        </ul>

                    </div>
                </div>
            </div>
        </div>
    </div>
 
     


    <div class="row" style="display:none">
        <div class="col-lg-12">
            <div class="main-box">
                <header class="main-box-header">
                    <h2>发单机器人</h2>
                </header>
                <div class="main-box-body">
                    <div id="gallery-photos-lightbox">
                        <ul class="clearfix gallery-photos">
                       
                            <li class="col-md-3 col-sm-6 col-xs-12">

                                <div class="main-box infographic-box" style="border: 1px solid #ecf0f1; border-radius:8px; ">
                                    @*<i class="fa fa-user red-bg"></i>*@
                                    <img class="fa thumb media-object" src="/img/f.png" width="59" height="59" alt="" style="border-radius:50%">
                                    
                                      
                                    
                                    <div style="float:right">
                                       
                                        <span class=""><span class="label label-danger">近执行时间</span><br></span>
                                        <span class="headline">机器人账号</span>
                                        <span class="headline">

                                            备注信息

                                        </span>
                                    </div>
                                </div>



                            </li>
                            <li class="col-md-3 col-sm-6 col-xs-12">

                                <div class="main-box infographic-box" style="border: 1px solid #ecf0f1; border-radius:8px; ">
                                    @*<i class="fa fa-user red-bg"></i>*@
                                    <img class="fa thumb media-object" src="/img/f.png" width="59" height="59" alt="" style="border-radius:50%">
                                    <div style="float:right">

                                        <span class="headline"><span class="label label-success">近执行时间</span><br></span>
                                        <br>
                                        <span class="headline">

                                            备注信息

                                        </span>
                                    </div>
                                </div>



                            </li>
                        </ul>

                    </div>
                </div>
            </div>
        </div>
    </div>



    <div class="row" style="display:none">
        <div class="col-lg-12">
            <div class="main-box">
                <header class="main-box-header">
                    <h2>群管机器人</h2>
                </header>
                <div class="main-box-body">
                    <div id="gallery-photos-lightbox">
                        <ul class="clearfix gallery-photos">

                            <li class="col-md-3 col-sm-6 col-xs-12">

                                <div class="main-box infographic-box" style="border: 1px solid #ecf0f1; border-radius:8px; ">

                                    <img class="fa thumb media-object" src="/img/q.png" width="59" height="59" alt="" style="border-radius:50%">
                                    <div style="float:right">

                                        <span class=""><span class="label label-danger">近执行时间</span><br></span>
                                        <span class="headline">jqr001</span>
                                        <span class="headline">

                                            备注信息

                                        </span>
                                    </div>
                                </div>



                            </li>
                            <li class="col-md-3 col-sm-6 col-xs-12">

                                <div class="main-box infographic-box" style="border: 1px solid #ecf0f1; border-radius:8px; ">
                                    @*<i class="fa fa-user red-bg"></i>*@
                                    <img class="fa thumb media-object" src="/img/q.png" width="59" height="59" alt="" style="border-radius:50%">

                                    <div style="float:right">

                                        <span class=""><span class="label label-success">近执行时间</span><br></span>

                                        <span class="headline">jqr002</span>
                                        <span class="headline">

                                            备注信息

                                        </span>
                                    </div>
                                </div>



                            </li>
                        </ul>

                    </div>
                </div>
            </div>
        </div>
    </div>



</div>

<div class="md-modal md-effect-13" id="modal-13">
    <div class="md-content">
        <div class="modal-header">
            <button class="md-close close">&times;</button>
            <h4 class="modal-title">设置授权参数</h4>
        </div>
        <div class="modal-body">
            <div class="main-box-body clearfix">
                <form class="form-horizontal">
                    <input type="hidden" id="id" name="id" value="0" />
                    <div class="form-group">

                        <div class="col-lg-5">
                            <input type="text" id="name" name="name" max="10" value="" class="form-control" placeholder="">
                        </div>
                    </div>
                    <div class="form-group">

                        <div class="col-lg-5">
                            <input type="text" id="name" name="name" max="10" value="" class="form-control" placeholder="">
                        </div>
                    </div>

                    <div class="modal-footer">

                        <button type="button" id="submit" class="btn btn-primary">保 &nbsp;&nbsp;&nbsp;存</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<div class="md-overlay"></div>
